using System.ComponentModel;

namespace EOS.Data
{
    public class OverviewTab : INotifyPropertyChanged
    {
        private string _name;
        private string _overviewProfileName;
        private string _bracketProfileName;
        private bool? _showAll;
        private bool? _showNone;
        private bool? _showSpecials;


        public string Name
        {
            get { return _name; }
            set
            {
                _name = value;
                OnPropertyChanged("Name");
            }
        }

        public string OverviewProfileName
        {
            get { return _overviewProfileName; }
            set
            {
                _overviewProfileName = value;
                OnPropertyChanged(OverviewProfileName);
            }
        }

        public string BracketProfileName
        {
            get { return _bracketProfileName; }
            set
            {
                _bracketProfileName = value;
                OnPropertyChanged("BracketProfileName");
            }
        }

        public bool? ShowAll
        {
            get { return _showAll; }
            set
            {
                _showAll = value;
                OnPropertyChanged("ShowAll");
            }
        }

        public bool? ShowNone
        {
            get { return _showNone; }
            set
            {
                _showNone = value;
                OnPropertyChanged("ShowNone");
            }
        }

        public bool? ShowSpecials
        {
            get { return _showSpecials; }
            set
            {
                _showSpecials = value;
                OnPropertyChanged("ShowSpecials");
            }
        }

        public event PropertyChangedEventHandler PropertyChanged;
        protected virtual void OnPropertyChanged(string propertyName)
        {
            if (PropertyChanged != null)
                PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
        }
    }
}